<?php
namespace modules\admin\action\show\admins;

use library\PageAction;
use helper\Util;

/**
 * AdminsListAction class file
 * 管理员列表
 * @author 宋欢 <iphper@yeah.net>
 * @version $Id: AdminsListAction.php 1 2013-02-08 00:48:06Z huan.song $
 * @package modules.admin.action.show.admins
 * @since 1.0
 */
class ListAction extends PageAction
{
	/**
	 * (non-PHPdoc)
	 * @see idea\mvc\interfaces.Action::run()
	 */
	public function run()
	{
		$ret = Util::getService('Admins', 'admin')->findAllByStatusY();
		$this->render($ret);
	}
}
